package com.shiyi.design.factory.abstractfactory;

import com.shiyi.design.factory.abstractfactory.product.AMDCPU;
import com.shiyi.design.factory.abstractfactory.product.AMDGraphicsCard;
import com.shiyi.design.factory.abstractfactory.product.CPU;
import com.shiyi.design.factory.abstractfactory.product.GraphicsCard;

/**
 * @author qiu
 * @date 2021-01-15 下午 10:13
 */
public class DellComputerFactory extends AbstractComputerFactory{

    @Override
    public CPU createCPU() {
        return new AMDCPU();
    }

    @Override
    public GraphicsCard createGraphicsCard() {
        return new AMDGraphicsCard();
    }
}
